package com.dream.service;

import com.dream.pojo.TempInformation;

import java.util.List;

public interface TempInformationService {
    /**
     * 查询条数
     * @param stuName
     * @param minTemp
     * @param maxTemp
     * @return
     */
    long totalCount(String stuName,String minTemp,String maxTemp);

    /**
     * 查询每页的数据
     * @param stuName
     * @param minTemp
     * @param maxTemp
     * @param pageIndex
     * @param pageSize
     * @return
     */
    List<TempInformation> list(String stuName,String minTemp,String maxTemp,long pageIndex,long pageSize);

}
